﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CodeSmith.QuickStart.Util
{
    public static class DataAccessHelper
    {
        public static bool IsFactoryDataAccessImplementation(DataAccessMethod dam)
        {
            bool result = false;
            switch (dam)
            {
                case DataAccessMethod.ObjectFactoryNone:
                case DataAccessMethod.ObjectFactoryParameterizedSQL:
                case DataAccessMethod.ObjectFactoryStoredProcedures:
                    result = true;
                    break;
            }
            return result;
        }
    }
}
